﻿using MediatR;
using SmartProduction.Domain;
using SmartProduction.ErrorCode;

namespace SmartProduction.Read.API.Application.Commands.BomCommand
{
    /// <summary>
    /// 工艺流程查询命令
    /// </summary>
    public class ProcessInfoQueryCommand:IRequest<APIResult<APIPaing<ProcessInfo>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSize { get; set; } = 15;
        /// <summary>
        /// BomId
        /// </summary>
        public int? BomId { get; set; }
    }
}
